import Mock from 'mockjs';


export default {
    className: "Live.Model.PlayGenreManage",
    queryData: function(postData) {
        return Mock.mock({
            isSuccess: "Y",
            reason: "",
            message: [],
            "data": {
                "recordCount": 38,
                "pageCount": 1,
                "pageIndex": 1,
                "pageSize": 20,
                "queryResult|38": [{
                    "keyID|1000-9999": 1000,
                    "groupCode": /^[a-z][0-9][a-z][0-9][a-z]$/,
                    "groupName": Mock.mock('@ctitle'),
                    "remark": /^[A-Z][a-z][a-z][a-z][a-z][A-Z][a-z][a-z][a-z][a-z]$/,
                    "playSupport": "全部支持",
                    "playSupportVal":"allSupport",
                    "sort": "1",
                    "version": 1
                }]
            }
        });
    },
    queryByKeyID: function(postData) {
        return Mock.mock({
            isSuccess: "Y",
            reason: "",
            message: [],
            "data": {
              "keyID|1000-9999": 1000,
              "groupCode": /^[a-z][0-9][a-z][0-9][a-z]$/,
              "groupName": Mock.mock('@ctitle'),
              "remark": /^[A-Z][a-z][a-z][a-z][a-z][A-Z][a-z][a-z][a-z][a-z]$/,
              "playSupport": "全部支持",
              "playSupportVal":"allSupport",
              "sort": "1",
              "version": 1
            }
        });
    },
};
